package com.lr.model;

import java.util.List;

public class User {
	private Integer id;
	private String name;
	private Integer age;
	private String tel;
	private Address addr;
	public User() {
		super();
	}
	public User(String name, Integer age, String tel,Address addr) {
		super();
		this.name = name;
		this.age = age;
		this.addr = addr;
		this.tel=tel;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public Address getAddr() {
		return addr;
	}
	public void setAddr(Address addr) {
		this.addr = addr;
	}
	
	public String getTel() {
		return tel;

	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	/**
	 * TODO
	 * @Author	李瑞
	 * @return 
	 * @Date	2016年5月19日
	 * 更新日志
	 * 2016年5月19日 李瑞  首次创建
	 *
	 */
	@Override
	public String toString() {
		return "User [id=" + id + ", name=" + name + ", age=" + age + ", tel="
				+ tel + ", addr=" + addr + "]";
	}
	
}
